package it.polimi.traveldream.dto;

import org.hibernate.validator.constraints.NotEmpty;

public class TransportDTO extends ProductDTO {

	@NotEmpty
	private String destination;

	@NotEmpty
	private String origin;

	@NotEmpty
	private String type;
	
	public TransportDTO() {
		//TODO: All'atto dell'implementazioni dei tipi eliminare il set a costante;
		this.setType("FLIGHT");
	}

	public String getDestination() {
		return this.destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public String getOrigin() {
		return this.origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}
}
